This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jun 15, 2011, 5:30 AM
129 Posts

Re: Dynamic value binding

  • Category: Server Side JavaScript
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags: Dynamic Design,datasource
  • Replies: 5
Probably an Expression Language limitation when you compute the name of the field inside the value binding.
 
It probably won't work, but have you tried: 
value="#{dominoDoc[('field'+rID)]}" 
Jun 15, 2011, 12:49 PM
8 Posts
Re: Dynamic value binding
 Thanks for the suggestion, Tommy. Yes, tried that, no difference. I'm puzzled insofar as the example given used a scope variable, and that supposedly works. I tried to compute the variable name outside the main expression like this
fN = 'field'+rID 
value="#{dominoDoc[fN]}" 
and that didn't work either. I've used a bunch of print statements to verify the field name binding is correct, which it is, at least the print outputs the expected field name. This has me stumped - any suggestion is appreciated.
Jun 15, 2011, 5:37 PM
129 Posts
Re: Dynamic value binding
What is the repeat control value binding?

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal